package com.yishe.entites.mysql;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @author : chusifeng
 * @version :
 * @date :Create in 2021/4/10 10:24
 * @description: 员工课程
 * @package com.yishe.entites.mysql
 * @className YsStaffCase
 */
@Data
@Table(name = "ys_staff_case")
public class YsStaffCase implements Serializable {
    @Transient
    private static final long serialVersionUID = -4663021103129756419L;
    @Id
    @Column(name = "id")
    private Integer id;
    private String caseNo;
    private String account;
    private Integer status;

    private String createId;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private String lastUpdateId;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lastUpdateTime;
}
